import Taro, { Component } from '@tarojs/taro'
import Index from './screen/home'
import './library/style/patch.css';
import './project/style/project.css';


class App extends Component {



  config = {
    pages: [
      'screen/home/index'
    ],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTitleText: '分享站',
      navigationBarTextStyle: 'block'
    },

		// tabBar: {
		// 	color: '#666',
		// 	selectedColor: '#d81e06',
		// 	borderStyle: 'black',
		// 	backgroundColor: '#f9f9f9',
		// 	list: [
		// 		{
		// 			pagePath: 'screen/home/index',
		// 			text: '首页',
		// 			iconPath: './project/style/tabbar/home.png',
		// 			selectedIconPath: './project/style/tabbar/home_a.png',
		// 		},
		// 		{
		// 			pagePath: 'screen/product/cat',
		// 			text: '分类',
		// 			iconPath: './project/style/tabbar/product.png',
		// 			selectedIconPath: './project/style/tabbar/product_a.png',
		// 		},
		// 		{
		// 			pagePath: 'screen/vip/index',
		// 			text: 'VIP专区',
		// 			iconPath: './project/style/tabbar/vip.png',
		// 			selectedIconPath: './project/style/tabbar/vip_a.png',
		// 		},
		// 		{
		// 			pagePath: 'screen/order/cart',
		// 			text: '购物车',
		// 			iconPath: './project/style/tabbar/cart.png',
		// 			selectedIconPath: './project/style/tabbar/cart_a.png',
		// 		},
		// 		{
		// 			pagePath: 'screen/user/home/index',
		// 			text: '我的',
		// 			iconPath: './project/style/tabbar/my.png',
		// 			selectedIconPath: './project/style/tabbar/my_a.png',
		// 		}
		// 	]
		// }



  }

	componentWillMount(){	
  }



  componentDidMount () {

  }

  componentDidShow () {}

  componentDidHide () {}

  componentCatchError () {}

  render () {
    return (
      <Index />
    )
  }
}

Taro.render(<App />, document.getElementById('app'))
